package com.yeyks.consumer.service;

import com.yeyks.common.base.PageResult;
import com.yeyks.common.param.PageParam;
import com.yeyks.common.param.activity.PushHandPlanStatParam;
import com.yeyks.common.result.activity.ActivityCardStatResult;
import com.yeyks.common.result.activity.PushHandPlanListResult;
import com.yeyks.consumer.dal.domain.UserMaker;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


/**
 * <p>
 * 用户创客信息 服务类
 * </p>
 *
 * @author yun
 * @since 2020-03-04
 */
public interface UserMakerService extends IService<UserMaker> {

    /**
     * 邀请推手统计
     *
     * @param param
     * @return
     */
    List<ActivityCardStatResult> getPeopleStat(PushHandPlanStatParam param);

    /**
     * 推手累计佣金
     *
     * @param param
     * @return
     */
    List<ActivityCardStatResult> getCommissionStat(PushHandPlanStatParam param);

    /**
     * 推手列表
     *
     * @param param
     * @return
     */
    PageResult<PushHandPlanListResult> pushHandList(PageParam param);

    /**
     * 推手列表导出
     *
     * @return
     */
    List<PushHandPlanListResult> pushHandListDownload();
}
